﻿namespace eCommerce.core
{
    public enum SystemType
    {
        Warehouse   = 1,
        Store       = 2
    }

    public enum CommentType
    {
        Article = 1,
        Product = 2,
        IsWaitingForPublish = 1,
        IsPublished = 2
    }

    public enum PermissionObject
    {
        CanPublish = 1,
        CanUnlock  = 2,
        CanReturn  = 4,
    }

    public enum SettingType
    {
        String = 1,
        Int32  = 2,
        Int64  = 3,
        Bool   = 4,
        ConnectionString = 5,
        Product = 1,
        Article = 2,
        Image   = 3,
        Adv     = 4,
        Category = 5
    }
    
    public enum MessageType
    {
        Warning     = 1,
        Information = 2,
        Success     = 3,
        Failure     = 4
    }
    
    public enum StatusType
    {
        NotActive   = 1,
        Active      = 2
    }

    public enum CategoryType
    {
        All     = -1,
        Level   = 0,
        Root    = 0,
        Active  = 1,
        Product = 1,
        Article = 2,
        Guide   = 3,
    }    

    public enum AdvType
    {
        Slider = 1,
        Other  = 2        
    }

    public enum OrderStatus
    {
        Temp       = 1,
        Complete   = 2,
        Deleted    = 4,
        Guest      = 8
    }

    public enum ArticleStatus
    {
        Temp         = 1,
        Published    = 2,
        Focus        = 4,
        OrderLastest = 1,
        OrderOldest  = 2,
    }

    public enum ProductStatus
    {
        Temp      = 1,
        Published = 2,
        BrandNew  = 4,
        Discount  = 8
    }


}
